/*
 * Copyright (c) 2006-2021, RT-Thread Development Team
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Change Logs:
 * Date           Author       Notes
 * 2022-09-20     refugeer     the first version
 */
#ifndef __APPLICATION_SETUP_H_
#define __APPLICATION_SETUP_H_

#include <rtthread.h>

struct setup_items
{
    rt_uint16_t touch_min_x;
    rt_uint16_t touch_max_x;
    rt_uint16_t touch_min_y;
    rt_uint16_t touch_max_y;
};

rt_err_t setup_load(struct setup_items* setup);
rt_err_t setup_save(struct setup_items* setup);
void setup_init(void);

#endif
